package com.example.springsecurity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.springsecurity.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 租户信息表(SystemTenant)表实体类
 *
 * @author aman
 * @since 2025-01-15 16:50:08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "system_tenant")
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemTenant extends BaseEntity {
    //租户名
    private String name;
    //联系人的用户编号
    private Long contactUserId;
    //联系人
    private String contactName;
    //联系手机
    private String contactMobile;
    //租户状态（0正常 1停用）
    private Integer status;
    //绑定域名
    private String website;
    //租户套餐编号
    private Long packageId;
    //过期时间
    private Date expireTime;
    //账号数量
    private Integer accountCount;
    //是否已删除：0->未删除；1->已删除
    private Integer deleted;
    //备注
    private String remark;
}
